package happy.learn.lesson;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import happy.learn.lesson.nativelib.JNIExceptionLearn;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        try {
            JNIExceptionLearn.action("hello from native");
        } catch (Exception e) {
            Log.w("MainActivity", "jni exception", e);
        }
    }
}
